import login from '@/page/login/index'; //登陆
import LoginIndex from '@/page/login/LoginIndex'; //登陆
import redirect from '@/page/login/temp'; //微信回调页面
import bind from '@/page/login/bind'; //绑定
import addChildren from '@/page/login/addChildren'; //添加小孩-家长

import register from '@/page/register/index'; //家长注册


import home from '@/page/Home/index'; //首页
import menuConfig from '@/page/Home/menuConfig'; //首页

import feedbackList from '@/page/Feedback/index'; //家长反馈列表
import makeAFeedback from '@/page/Myself/kinsfolk/feedback/feedback'; //反馈-家长
import feedbackContent from '@/page/Feedback/content'; //家长反馈内容查看

import announcement from '@/page/Announcement/index'; //通知公告
import announcementContent from '@/page/Announcement/content'; //通知公告详情
import makeAnAt from '@/page/Announcement/makeAnAt'; //通知发布-教师
import avatar from '@/page/Announcement/avatar'; //通知发布-教师
import opt from '@/page/Announcement/opt'; //选择发送对象-教师
import msgAvatar from '@/page/Announcement/avatar'; //出入校园通知详情

import phonebook from '@/page/Phonebook/index'; //通讯录-教师
import phoneCont from '@/page/Phonebook/phoneCont'; //通讯录详情

import myself from '@/page/Myself/index'; //我的

import schoolInfo from '@/page/Myself/teacher/schoolInfo'; //学校简介-教师
import schoolAlbum from '@/page/Myself/teacher/album/schoolAlbum'; //学校相册-教师
import addPhoto from '@/page/Myself/teacher/album/addPhoto'; //添加图片-教师

import askForLeaveList from '@/page/Myself/teacher/tea-leave/personal/askForLeaveList'; //教师个人请假列表-教师
import applyDetailsPer from '@/page/Myself/teacher/tea-leave/personal/applyDetails'; //教师个人请假详情-教师

import teaAttendCount from '@/page/Myself/teacher/teaAttendCount'; //教师考勤统计-教师
import kidsAttendCount from '@/page/Myself/teacher/kidsAttendCount'; //幼儿考勤统计-教师
import teacherLeave from '@/page/Myself/teacher/tea-leave/whole/teacherLeave'; //教师请假审核-教师
import teaApplyDetails from '@/page/Myself/teacher/tea-leave/whole/applyDetails'; //教师请假审核-教师

import stuAttendCount from '@/page/Myself/teacher/stuCount/stuAttendCount'; //学生出入园统计-教师
import stuLeaveCount from '@/page/Myself/teacher/stuCount/stuLeaveCount'; //学生出出园统计-教师

import studentLeave from '@/page/Myself/teacher/stu-leave/studentLeave'; //学生请假记录-教师
import leaveDetails from '@/page/Myself/teacher/stu-leave/leaveDetails'; //学生请假详情


import studentApply from '@/page/Myself/teacher/stu-leave/studentApply'; //学生离园记录-教师
import stuApplyDetails from '@/page/Myself/teacher/stu-leave/applyDetails'; //学生离园详情
import askForApplyList from '@/page/Myself/kinsfolk/apply/askForApplyList'; //学生离园申请-家长
import askForLeaveList_stu from '@/page/Myself/kinsfolk/leave/askForLeaveList'; //学生请假-家长
import entry from '@/page/Myself/kinsfolk/records/entry'; //学生入园-家长
import exit from '@/page/Myself/kinsfolk/records/exit'; //学生离园-家长

import reportList from '@/page/Myself/teacher/report/index'; //学生体检报告
import reportListPer from '@/page/Myself/kinsfolk/report/index'; //学生体检报告-家长
import reportDaily from '@/page/Myself/teacher/report/reportDaily'; //学生体检详情


import addDaily from '@/page/classDaily/addDaily'; //发布班级动态-教师
import classDaily from '@/page/classDaily/index'; //班级动态
import dailyContent from '@/page/classDaily/content'; //班级动态详情
import photograph from '@/components/photograph'; //班级动态详情


import schoolSituation from '@/page/Myself/kinsfolk/schoolInfo/schoolSituation'; //学校概况
import MsgTemp from '@/page/Announcement/MsgTemp'; //学校概况

import stuPick from '@/page/stuPick'; //学生到校详情
import teaAtd from '@/page/teaAtd'; //教师到校详情

import equipment from '@/page/Myself/teacher/equipment/index'; //设备管理
import eqCont from '@/page/Myself/teacher/equipment/content'; //设备管理
import FaceJudge from '@/page/face/FaceJudge'; //设备管理

import faceManagement from '@/page/Myself/teacher/faceManagement/index' //人脸管理
import faceManagementContent from '@/page/Myself/teacher/faceManagement/content' //人脸管理
import faceManagementReview from '@/page/Myself/teacher/faceManagement/review' //人脸管理

import bindReview from '@/page/Myself/teacher/bindReview/index' //家长绑定审核列表
import bindReviewContent from '@/page/Myself/teacher/bindReview/content' //家长绑定审核详情
import FaceRecordList from '@/page/Myself/teacher/faceManagement/FaceRecordList' //家长绑定审核详情

import Camera from '@/page/Myself/teacher/camera/Camera' //视频监控
import videoFeedback from '@/page/Myself/teacher/camera/feedback' //视频反馈


import Play from '@/page/Myself/teacher/camera/Play' //摄像头直播
import liveStream from '@/page/liveStream' //校园直播
import Player from '@/page/liveStream/Player' //直播播放器

import RegisterTemp from '@/page/register/RegisterTemp' //家长绑定获取openId
//支付
import Product from '@/page/pay/Product' //家长绑定获取openId
import BaiduMap from '@/page/gps/BaiduMap' //百度地图
import BindGps from '@/page/gps/BindGps' //百度地图
import ScanTemp from '@/page/scan/ScanTemp' //扫码
import GpsSug from '@/page/gps/GpsSug' //功能介绍
import GpsGuiji from '@/page/gps/GpsGuiji' //轨迹查询
import GpsAQ from '@/page/gps/GpsAQ' //安全围栏
import GpsAQAddress from '@/page/gps/GpsAQAddress'//安全围栏-设置家庭地址
import GpsSos from '@/page/gps/GpsSos' //SOS报警
import SosDetail from '@/page/gps/SosDetail' //SOS报警详情

import Recipe from '@/page/Recipe' //食谱
import Dishes from '@/page/Recipe/dishes' //菜色管理
import addDishes from '@/page/Recipe/addDishes' //菜色管理
import dishesCont from '@/page/Recipe/dishesCont' //菜色管理
import KindergartenList from '@/page/login/KindergartenList' //食谱
import ShareSchoolInfo from '@/page/share/ShareSchoolInfo' //食谱
import ShareTrends from '@/page/share/ShareTrends' //食谱

import ShareFood from '@/page/share/ShareFood.vue'
//个人散户
import PerRegistered from '@/page/Personal/registered'//个人学生注册
import Perbinding from '@/page/Personal/perbinding'//个人学生列表
import PerSug from '@/page/Personal/perSug'//功能介绍
import BabyNews from '@/page/Personal/babynews'//宝宝信息
import personalbind from '@/page/Personal/perRegistered'//个人家长信息注册


export default [{
		path: '/login',
		name: '登录',
		component: login,
	}, {
		path: '/index',
		name: '跳转登陆',
		component: LoginIndex,
	},
	{
		path: '/bind',
		name: '绑定',
		component: bind,
	},
	{
		path: '/addChildren',
		name: '添加小孩',
		component: addChildren,
	},
	{
		path: '/redirect',
		name: '回调',
		component: redirect,
	},
	{
		path: '/register',
		name: '家长注册',
		component: register,
	},
	{
		path: '/home',
		name: '首页',
		component: home,
		meta: {
			requireAuth: false
		}
	},
	{
		path: '/menuConfig',
		name: '管理',
		component: menuConfig,
	},
	{
		path: '/announcement',
		name: '通知公告',
		component: announcement,
		// meta: {
		// 	requireAuth:false
		// }
	},
	{
		path: '/makeAnAt',
		name: '通知发布',
		component: makeAnAt,
	},
  {
    path: '/msgAvatar',
    name: '通知发布',
    component: avatar,
  },
	{
		path: '/announcementContent',
		name: '通知详情',
		component: announcementContent,
	},
	{
		path: '/feedbackList',
		name: '反馈列表',
		component: feedbackList,
	},
	{
		path: '/makeAFeedback',
		name: '家长反馈',
		component: makeAFeedback,
	},
	{
		path: '/feedbackContent',
		name: '反馈详情',
		component: feedbackContent,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/phonebook',
		name: '通讯录',
		component: phonebook,
	},
	{
		path: '/phoneCont',
		name: '通讯录详情',
		component: phoneCont,
	},
	{
		path: '/myself',
		name: '我的',
		component: myself,
	},
	{
		path: '/schoolInfo',
		name: '学校简介',
		component: schoolInfo,
		meta: {
			requireAuth: false
		}
	},
	{
		path: '/schoolAlbum',
		name: '学校相册',
		component: schoolAlbum,
	},
	{
		path: '/addPhoto',
		name: '添加照片',
		component: addPhoto,

	},
	{
		path: '/teacherLeave',
		name: '教师请假审核',
		component: teacherLeave,

	},
	{
		path: '/teaApplyDetails',
		name: '教师请假详情',
		component: teaApplyDetails,

	},
	{
		path: '/teaAttendCount',
		name: '教师考勤统计',
		component: teaAttendCount,

	},
	{
		path: '/kidsAttendCount',
		name: '幼儿考勤统计',
		component: kidsAttendCount,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/askForLeaveList',
		name: '教师个人请假列表',
		component: askForLeaveList,

	},
	{
		path: '/applyDetailsPer',
		name: '教师个人请假详情',
		component: applyDetailsPer,

	},
	{
		path: '/studentLeave',
		name: '学生请假记录',
		component: studentLeave,

	},
	{
		path: '/askForLeaveList_stu',
		name: '学生请假列表',
		component: askForLeaveList_stu,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/leaveDetails',
		name: '学生请假详情',
		component: leaveDetails,

	},
	{
		path: '/stuAttendCount',
		name: '学生出入园统计',
		component: stuAttendCount,

	},
	{
		path: '/stuLeaveCount',
		name: '学生出园统计',
		component: stuLeaveCount,

	},
	{
		path: '/askForApplyList',
		name: '学生离园',
		component: askForApplyList,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/studentApply',
		name: '学生离园查看',
		component: studentApply,

	},
	{
		path: '/entry',
		name: '入园-家长',
		component: entry,

	},
	{
		path: '/exit',
		name: '离园-家长',
		component: exit,

	},
	{
		path: '/stuApplyDetails',
		name: '学生离园详情',
		component: stuApplyDetails,

	},
	{
		path: '/reportListPer',
		name: '学生请假列表-家长',
		component: reportListPer,

	},
	{
		path: '/reportList',
		name: '晨检',
		component: reportList,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/reportDaily',
		name: '学生体检报告详情',
		component: reportDaily,

	},
	{
		path: '/classDaily',
		name: '校园动态',
		component: classDaily,
		meta: {
			requireAuth: false
		}
	},
	{
		path: '/addDaily',
		name: '发布班级动态',
		component: addDaily,

	},
	{
		path: '/dailyContent',
		name: '查看班级动态',
		component: dailyContent,

	},
	{
		path: '/schoolSituation',
		name: '学校概况',
		component: schoolSituation,
		meta: {
			requireAuth: false
		}
	},
	{
		path: '/photograph',
		name: '人脸录入',
		component: photograph,

	},
	{
		path: '/msg-temp',
		name: '消息过渡页面',
		component: MsgTemp,

	},
	{
		path: '/stuPick',
		name: '学生到校详情',
		component: stuPick,

	},
	{
		path: '/teaAtd',
		name: '教师到校详情',
		component: teaAtd,

	},
	{
		path: '/equipment',
		name: '设备管理',
		component: equipment,

	},
	{
		path: '/eqCont',
		name: '设备详情',
		component: eqCont,

	},
	{
		path: '/face-judge',
		name: '人脸审核',
		component: FaceJudge,

	},
	{
		path: '/faceManagement',
		name: '人脸管理',
		component: faceManagement,

	},
	{
		path: '/faceManagementContent',
		name: '学生人脸详情',
		component: faceManagementContent,

	},
	{
		path: '/faceManagementReview',
		name: '人脸审核管理',
		component: faceManagementReview,

	},
	{
		path: '/bindReview',
		name: '家长绑定审核列表',
		component: bindReview,

	},
	{
		path: '/bindReviewContent',
		name: '家长绑定审核详情',
		component: bindReviewContent,

	},
	{
		path: '/face-record',
		name: '人脸',
		component: FaceRecordList,

	},
	{
		path: '/camera',
		name: '摄像头',
		component: Camera,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/video-feedback',
		name: '视频反馈',
		component: videoFeedback,
	},
	{
		path: '/live-play',
		name: '播放直播',
		component: Play,

	},
	{
		path: '/liveStream',
		name: '宝宝直播',
		component: liveStream,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/live-player',
		name: '直播播放器',
		component: Player,
	},
	{
		path: '/register-temp',
		name: '获取code',
		component: RegisterTemp,

	},
	{
		path: '/product',
		name: '产品页面',
		component: Product,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/recipe',
		name: '宝宝食谱',
		component: Recipe,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/kindergarten-list',
		name: '幼儿园列表',
		component: KindergartenList,
		meta: {
			requireAuth: true
		}
	},
  {
		path: '/share-school',
		name: '简介分享',
		component: ShareSchoolInfo,
		meta: {
			requireAuth: true
		}
	},
  {
		path: '/share-trends',
		name: '动态分享',
		component: ShareTrends,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/map',
		name: '地图',
		component: BaiduMap,
	},
  {
		path: '/bind-gps',
		name: '绑定GPS',
		component: BindGps,
	},
  {
  	path: '/GpsSug',
  	name: 'GPS介绍',
  	component: GpsSug,
  },
  {
  	path: '/GpsSos',
  	name: 'SOS报警',
  	component: GpsSos,
  },
  {
  	path: '/SosDetail',
  	name: 'SOS报警详情',
  	component: SosDetail,
  },
  {
  	path: '/GpsGuiji',
  	name: '轨迹查询',
  	component: GpsGuiji,
  },
  {
  	path: '/GpsAQ',
  	name: '安全围栏',
  	component: GpsAQ,
  },
  {
    path: '/GpsAQ-Address',
    name: '安全围栏-设置地址',
    component: GpsAQAddress,
  },
	{
		path: '/scan-temp',
		name: 'ScanTemp',
		component: ScanTemp,
	},

	{
		path: '/dishes',
		name: '菜色管理',
		component: Dishes,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/addDishes',
		name: '新建菜色',
		component: addDishes,
		meta: {
			requireAuth: true
		}
	},
	{
		path: '/dishesCont',
		name: '菜色详情',
		component: dishesCont,
		meta: {
			requireAuth: true
		}
	},
	{
		path:'/share-food',
		name: '分享-菜谱',
		component: ShareFood,
		meta: {
			requireAuth: true
		}
	},
  {
    path: '/per-regi',
    name: '个人-注册',
    component: PerRegistered
  },
  {
    path: '/per-bind',
    name: '个人-列表',
    component: Perbinding
  },
  {
    path: '/per-sug',
    name: '功能介绍',
    component: PerSug
  },
  {
    path: '/per-baby',
    name: '宝宝信息',
    component: BabyNews
  },
  {
    path: '/per-regis',
    name: '个人-家长注册',
    component: personalbind
  },
  {
    path: '/msgAvatar',
    name: '头像详情',
    component: msgAvatar
  }
]
